<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>{$head[title]}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="{$head[keywords]}" name="keywords" />
<meta content="{$head[description]}" name="description" />
<base href="{SITE_URL}" />
<link href="favicon.ico" rel="shortcut icon" />
<link href="../skin/style.css" rel="stylesheet" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="{$head[title]}" href="/rss.php?rssid={$catid}" />
<script language="JavaScript" src="misc/config.js"></script>
<script language="JavaScript" src="misc/jquery.min.js"></script>
<script language="JavaScript" src="misc/common.js"></script>
<script language="JavaScript" src="misc/validator.js"></script>


<link href="skin/modal.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="images/js/jqModal.js"></script>
<script type="text/javascript" src="{$M[url]}images/js/space.js"></script>
</head>
<body>

{template 'header.html'}



<style type="text/css">
	.groupheader{
		height:150px; position:relative; border-bottom:1px solid #eee; display:none;
	}
	.groupheader .name{
		position:absolute; left:20px; top:20px; font-size:20px;
	}
	.groupheader .desc{
		position:absolute; left:20px; top:50px;
	}
	.groupheader ul{
		position:absolute; bottom:1px;
	}
	.groupheader li{
		float:left; display:inline;
	}
	.groupheader li a{
		border:1px solid #eee; float:left; display:inline; padding:5px 10px; margin:0 5px -1px 0; border-bottom:0;
	}
</style>
<div class="container groupheader">
	<h2 class="name">{$title}</h2>
    <p class="desc">{$description}</p>
	<ul>
    	<li><a href="#">首页</a></li>
    	<li><a href="#">讨论区</a></li>
    	<li><a href="#">成员列表</a></li>
    	<li><a href="#">管理群组</a></li>
    </ul>
</div>



<div class="container">
	
    <div class="main topic"> 
    	
        <div class="mod">
            <div class="head">会员列表</div>
            <ul class="body users">
            {php //get sql="select * from table_group_member where groupid = $groupid " rows="40"}
            {get sql="select * from table_member" rows="36" page="$page"}
            <li>
             <a href="{url("?module=space&userid=$r[userid]")}" title="{$r[username]}"><img src="{thumb(avatar($r[userid]),40,40)}" alt="{$r[username]}"  target="_blank" width="40" height="40"/></a>
             <br/><a href="{url("?module=space&userid=$r[userid]")}">{$r[username]}</a>
             <!--<br/><a href="./index.php?module=space&file=fans&action=add&userid={$r[userid]}">(关注TA)</a>-->
            </li>
          {/get}
          </ul>
          <div class="pagination">{$pages}</div>
        </div>
        
    
  </div>
    
    
    <div class="aside">
    	
        <div class="mod">
        	<div class="head">返回</div>
            <div class="body">
            	<a href="{url("?module=group&groupid=$groupid")}">&gt;回到{$title}小组</a>
            </div>
        </div>
        
        <div class="mod">
            <div class="head">永久链接</div>
            <div class="body users">
          		本页永久链接:<a href="{url("?module=group&groupid=$groupid")}" target="_self">{url("?module=group&groupid=$groupid")}</a>
            </div>
        </div>
         
    </div>
    
</div>


{template 'footer.html'}
